package chapter15;

import java.util.*;

/**
 * Created by lzy
 * Date: 2018/5/9
 */
public class LostInfomation {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        Map<Long, Double> map = new HashMap<>();
        Queue<Integer> quene = new LinkedList<>();
        Set<Character> character = new HashSet<>();

        System.out.println("Type of list is " + Arrays.toString(list.getClass().getTypeParameters()));
        System.out.println("Type of map is " + Arrays.toString(map.getClass().getTypeParameters()));
        System.out.println("Type of quene is " + Arrays.toString(quene.getClass().getTypeParameters()));
        System.out.println("Type of character is " + Arrays.toString(character.getClass().getTypeParameters()));
    }
}
